package cvm

import (
	"github.com/infraboard/mcube/logger"
	"github.com/infraboard/mcube/logger/zap"

	cvm "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm/v20170312"
)

func NewCVMOperator(client *cvm.Client, account string) *CVMOperator {
	return &CVMOperator{
		client:  client,
		log:     zap.L().Named("provider.txyun.cvm"),
		account: account,
	}
}

// 与云商交换的操作器
type CVMOperator struct {
	client  *cvm.Client
	log     logger.Logger
	account string
}
